package br.com.esporte.view.site.component.image;

import org.apache.wicket.behavior.SimpleAttributeModifier;
import org.apache.wicket.markup.html.image.Image;

/**
 * 
 * @author Milton Domingues
 *
 */
public class ImageRelativePath extends Image {

	private static final long serialVersionUID = -4705705173112387248L;

	public static final String SRC = "src";

	public ImageRelativePath(String id, String path) {
		super(id);
		add(new SimpleAttributeModifier(SRC, path));
	}

}
